package com.ss.android.newmedia;

import java.lang.ref.WeakReference;
import java.util.Comparator;

import android.app.Activity;

import com.ss.android.common.app.AppHooks;
import com.ss.android.newmedia.data.Alert;

public class BaseAppData implements AppHooks.ActivityLifeCycleHook{
	static final String BUNDLE_ACTION_URL="action_url";
	public static final String BUNDLE_DATA="data";
	static final String BUNDLE_PACKAGE="package";
	static final String BUNDLE_RULE_ID="rule_id";
	protected static final String KEY_CLEAR_CACHE_TIME="clear_cache_time";
	protected static final String KEY_NOTIFY_ENABLED="notify_enabled";
	protected static final String KEY_NOTIFY_TIME="server_notify_time";
	private static final String KEY_RECOMMEND="recommend";
	protected static final String KEY_SLIDE_HINT_SHOWED="slide_hint_showed";
	public static final int MAX_IMAGE_SIZE=10485760;
	public static final String SP_APP_SETTING="app_setting";
	private static final String TAG="BaseAppData";
	protected static BaseAppData mInstance;
	private WeakReference<Activity> mActivityRef;
	private long mActivityResumeTime=0L;
	/*private final Comparator<Alert> mAlterCmp=new Comparator(){
		
	};*/

	@Override
	public void onActivityPaused(Activity activity) {
		
	}

	@Override
	public void onActivityResumed(Activity activity) {
		
	}
}
